<div class="form">


<?php $form = $this->beginWidget('GxActiveForm', array(
	'id' => 'recibo-socio-form',
	'enableAjaxValidation' => false,
));
?>

	<p class="note">
		<?php echo Yii::t('app', 'Los campos con ('); ?> <span class="required">*</span> <?php echo Yii::t('app', ') son requeridos.'); ?>.
	</p>

	<?php echo $form->errorSummary($model); ?>

		<div class="row">
		<?php echo $form->labelEx($model,'Fecha'); ?>
		<?php //echo $form->textField($model, 'Fecha'); ?>
		<?php $form->widget('zii.widgets.jui.CJuiDatePicker', array(
			'name' => 'Fecha',
			'model' => $model,
			'attribute' => 'Fecha',
			'value' => $model->Fecha,
			'language' => 'es',
			'options' => array(
				'showButtonPanel' => false,
				'changeYear' => true,
				'changeMonth' => true,
				'dateFormat' => 'yy-mm-dd',
			),
		)); ?>
		<?php echo $form->error($model,'Fecha'); ?>
		</div><!-- row -->
		<div class="row">
		<?php echo $form->labelEx($model,'Numero'); ?>
		<?php echo $form->textField($model, 'Numero'); ?>
		<?php echo $form->error($model,'Numero'); ?>
		</div><!-- row -->
		<div class="row">
		<?php echo $form->labelEx($model,'SocioId'); ?>
		<?php echo $form->dropDownList($model, 'SocioId', GxHtml::listDataEx(Socio::model()->findAllAttributes(null, true)),
										array(
											'prompt' => 'Seleccione un Socio ... '
										)
		); ?>
		<?php echo $form->error($model,'SocioId'); ?>
		</div><!-- row -->
		<div class="row">
		<?php echo $form->labelEx($model,'Anio'); ?>
		<?php echo $form->textField($model, 'Anio'); ?>
		<?php echo $form->error($model,'Anio'); ?>
		</div><!-- row -->
		<div class="row">
		<?php echo $form->labelEx($model,'Mes'); ?>
		<?php echo $form->textField($model, 'Mes'); ?>
		<?php echo $form->error($model,'Mes'); ?>
		</div><!-- row -->
		<div class="row">
		<?php echo $form->labelEx($model,'UsuarioConfecciono'); ?>
		<?php echo $form->textField($model, 'UsuarioConfecciono', array('maxlength' => 45)); ?>
		<?php echo $form->error($model,'UsuarioConfecciono'); ?>
		</div><!-- row -->

<!--		
		<label><?php //echo GxHtml::encode($model->getRelationLabel('movcuentasocios')); ?></label>
		<?php //echo $form->checkBoxList($model, 'movcuentasocios', GxHtml::encodeEx(GxHtml::listDataEx(Movcuentasocio::model()->findAllAttributes(null, true)), false, true)); ?>
-->
<?php
echo GxHtml::submitButton(Yii::t('app', 'Save'));
$this->endWidget();
?>
</div><!-- form -->